require 'mm2s5'
require 'erb'

class Runner
  def run
    mm_file = open("root.mm").read
    @m = Mm2s5.new(mm_file)
    
    template = open("views/s5.erb").read
    erb = ERB.new(template)
    puts erb.result(binding)
  end
end

if __FILE__ == $0 then
  Runner.new.run
end
